FROM anapsix/alpine-java:8_server-jre_unlimited

RUN mkdir -p /monitor/logs

WORKDIR /monitor

EXPOSE 9090

ADD ./target/monitor-admin.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
